package net.pinnoocle.playdao.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * 店铺所属用户(一个用户可能所属多个店铺)(ShopUser)表实体类
 *
 * @author ye
 * @since 2021-10-25 15:30:38
 */
@SuppressWarnings("serial")
@Data
@TableName("shop_user")
public class ShopUser extends Model<ShopUser> {

    @TableId(type = IdType.UUID)
    private String shopUserId;
    //门店id
    private String shopId;
    //用户id
    private String userId;
    //邀请人id
    private String inviterId;
    //邀请人name
    private String inviterName;
    //邀请次数
    private Integer inviterTimes;
    //来源
    private String sourceName;
    //最后消费时间
    private Date expenseLastDate;
    //消费时长
    private Double expenseHour;
    //消费金额
    private Double expenseAmount;
    //玩本次数
    private Integer playTimes;
    //会员等级id
    private Integer memberLevelId;
    //上次访问剧本时间
    private Date lastVisitScriptTime;
    //上次访问组局时间
    private Date lastVisitGroupTime;
    //注册时间
    private Date createdTime;
}